import pygame
from pygame.locals import *

UP = (K_UP, K_8, K_KP8)
DOWN = (K_DOWN, K_2, K_KP2)
LEFT = (K_LEFT, K_4, K_KP4)
RIGHT = (K_RIGHT, K_6, K_KP6)
UPLEFT = (K_7, K_KP7)
UPRIGHT = (K_9, K_KP9)
DOWNLEFT = (K_1, K_KP1)
DOWNRIGHT = (K_3, K_KP3)